home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / program / vser10c.zip / VSER.TXT < prev   
Text File  |  1995-02-01  |  23KB  |  509 lines

  1.  
  2.  
  3.  
  4.     ╔════════════════════════════════════════════════════════════════════╗
  5.     ║                                                                    ║
  6.     ║                                                                    ║
  7.     ║                     Visible::Serialization(tm)                     ║
  8.     ║                     --------------------------                     ║
  9.     ║                developers' serialization utilities                 ║
  10.     ║                                                                    ║
  11.     ║                                                                    ║
  12.     ║       append a serial number (or other identifier) to an .exe      ║
  13.     ║                                                                    ║
  14.     ║                                                                    ║
  15.     ║                                                                    ║
  16.     ║                     a product of RCCO Research                     ║
  17.     ║                                                                    ║
  18.     ║                                                                    ║
  19.     ╚════════════════════════════════════════════════════════════════════╝
  20.  
  21.  
  22.  
  23. Capabilities
  24. -------------
  25. Visible::Serialization(tm) is a utilities set primarily intended for
  26. developers so that they may append a serial number (or other identifier) to
  27. the end of an .exe file, create and/or increment such serial numbers, and
  28. search for and display a serial number appended to an executable file.  Users
  29. other than developers may use Visible::Serialization to initialize purchased
  30. software applications with ownership, security-related, or other identifying
  31. marks.
  32.  
  33. A unique serial number going out with each copy of an application affords
  34. the developer with a possible opportunity to identify, if need be, the
  35. registered client of a particular copy.  The end-user is normally unaware
  36. of the existence of such a mark, its location, its method of placement or
  37. the method of reading/verifying.  Its absence or modification may provide
  38. evidence of tampering.
  39.  
  40. Visible::Serialization may be used with most traditional MS-DOS or Windows
  41. executables, including those created with CA-Clipper, Borland Turbo Pascal,
  42. QuickBASIC, PowerBasic, Visual Basic(tm) for Windows or DOS, FoxPro, Clarion,
  43. C, Visual C++, etc.
  44.  
  45. The chief advantages, aside from the utilities themselves, are both low cost
  46. and method of acquiring.  The copy included herewith is a fully-functional
  47. evaluation copy available easily and universally through the user-supported
  48. software marketplace.
  49.  
  50.  
  51.  
  52.  
  53. The Visible::Serialization package
  54. -----------------------------------
  55. This set of utilities consists of the following primary files:
  56.  
  57.          CREATESN.EXE  (create or increment a serialno.dat file)
  58.          APPENDSN.EXE  (append a serial string in serialno.dat to an .exe)
  59.          SEARCHSN.EXE  (search/verify an .exe for a serial string)
  60.          SN2A.BAT      (sample batch file for production of successive
  61.                            serializations on distribution diskettes)
  62.  
  63. Also included are:
  64.          SERIALNO.DAT  (sample numerical serial number data file for
  65.                            reading by APPENDSN.EXE; not needed or
  66.                            necessarily distributed with applications)
  67.          SAMPLE.EXE    (sample c file .exe on which to practice append
  68.                            and search sessions)
  69.  
  70.  
  71.  
  72.  
  73. Using Visible::Serialization
  74. -----------------------------
  75. CreateSN.exe
  76. -------------
  77. You may use CreateSN.exe to create an ASCII text file called serialno.dat
  78. containing a beginning numerical sequence or an alphanumeric string to be
  79. used by the AppendSN.exe utility.  You may create and use both a numerical
  80. serial number (which can be incremented by subsequent runs of CreateSN.exe)
  81. or an alphanumeric string (including letters, digits, punctuation marks and
  82. spaces).
  83.  
  84. If there is in the working directory for the project at hand a file called
  85. serialno.dat, CreateSN.exe will attempt to increment a numerical serial
  86. number up to nine (9) digits by one number.  For example, if the serialno.dat
  87. file contains the number 10001, running CreateSN from the command line will
  88. change serialno.dat to 10002.  If serialno.dat contains characters other
  89. than digits, or contains a digital sequence greater than 9 in length, or
  90. is a numerical serial number file created or modified by a text editor
  91. (rather than CreateSN.exe itself), a message will report that the sequence
  92. cannot be incremented.
  93.  
  94. If a serialno.dat file is not found in the current directory, CreateSN.exe
  95. will prompt you for a beginning serial number.  You may enter either a
  96. numerical sequence or any alphanumeric string up to 34 characters in length.
  97. Only if you intend to have CreateSN increment the sequence later must you
  98. limit the length and content to 9 digits or less, with no letters, spaces or
  99. punctuation marks.
  100.  
  101. After appropriate entry of a new sequence or an increment of an existing
  102. sequence, CreateSN.exe will indicate successful completion and display the
  103. new serialno.dat file typed to the screen for verification.  The serialno.dat
  104. is now ready for use by AppendSN.exe.
  105.  
  106.  
  107. AppendSN.exe
  108. -------------
  109. To use AppendSN.exe, you type at the DOS prompt:
  110.  
  111.                         appendsn <filename.exe>
  112.  
  113. and press <enter>, where <filename.exe> is the actual copy of the .exe file
  114. you wish to serialize.  We provide a practice file in this package,
  115. sample.exe, for purposes of trying the append and search/read operations.
  116. (You may wish to retain an unchanged copy of the original sample.exe for
  117. evaluating various serialization sequences and the resulting appends.)
  118.  
  119. If there exists in the current directory an appropriate serialno.dat file,
  120. AppendSN.exe will read the sequence therein.  If the sequence consists of
  121. 34 or less characters in length, AppendSN.exe will append that sequence to
  122. the end of the .exe file named as the required command line parameter.  (If
  123. serialno.dat contains a sequence in excess of 34 characters, an appropriate
  124. message will display, accompanied by an exit to the system prompt.)
  125.  
  126. For example, if the serialno.dat file contains the sequence of digits 10002,
  127. and we execute
  128.  
  129.                         appendsn sample.exe <enter>
  130.  
  131. then 10002 will be appended to the end of sample.exe.  Should the serialno.dat
  132. file contain the sequence:  10002 John C. Smith, then that exact sequence
  133. will be appended to sample.exe.  A serialno.dat file containing "Property of
  134. XYZ Corp." will cause that string to be appended to sample.exe.
  135.  
  136. After successful completion of the append, AppendSN.exe will note that with
  137. an appropriate message.
  138.  
  139.  
  140. SearchSN.exe
  141. -------------
  142. The third utility in the Visible::Serialization set is SearchSN.exe.  You
  143. may use SearchSN.exe to search/verify an .exe for a serial string.  If you
  144. take the original, unserialized copy of sample.exe and type
  145.  
  146.                         searchsn sample.exe <enter>
  147.  
  148. you will receive a message stating "Serial number not found."
  149.  
  150. If the .exe file has been initialized with a serial number sequence by
  151. using AppendSN.exe (as above), then the results will be a partial dump
  152. of that area of the .exe showing our program name followed by the appended
  153. serial number sequence.  (There may also be a few garbage characters or
  154. other text displayed as well, but these should not interfere with the reading
  155. or verification of the true serial number sequence.)
  156.  
  157. You may also view the serial number sequence with a hex editor; search for
  158. the key string "Visible::Serialization."  If you intend to utilize the
  159. serial number programmatically in an application -- that is, reading it for
  160. display or verification purposes on the end-user's machine -- you will also
  161. search for the same key string and read the requisite succeeding bytes for
  162. the serial number.  Please note that your registered copy will not include
  163. the unregistered copy notice and that its absence will affect the number of
  164. bytes to be read before locating the serial number itself.
  165.  
  166.  
  167.  
  168.  
  169. The serialno.dat file
  170. ----------------------
  171. You may also create/modify a non-incrementing serialno.dat file with your
  172. text editor; if a numerical-type serial sequence is to be incremented with
  173. CreateSN.exe, please use CreateSN.exe to create the file initially (see
  174. note about this in the Precautions section, below).
  175.  
  176. A non-incrementing serialno.dat must be a plain ASCII text file (no
  177. extraneous characters) consisting of one line only, with no more than 34
  178. characters (including letters, digits, punctuation marks and spaces) in the
  179. one line; it must be left-justified within serialno.dat.  It should appear
  180. similarly as follows:
  181.  
  182.  
  183. 10002 John C. Smith
  184.  
  185.  
  186. (or)
  187.  
  188. John C. Smith
  189.  
  190.  
  191. (or)
  192.  
  193. A123 456-78M
  194.  
  195.  
  196. (or)
  197.  
  198. Property of XYZ Corp.
  199.  
  200.  
  201. etc.
  202.  
  203. within the format limitations described above.
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210. Production Use
  211. ---------------
  212. In order to use Visible::Serialization in producing multiple copies of
  213. sequentially serialized .exe's, there are several possible steps to consider.
  214.  
  215. First, if the distribution diskette will simply contain an unarchived copy
  216. of your .exe, you can utilize a batch file similar to the included sample
  217. SN2A.BAT.  SN2A.BAT is fairly self-explanatory, assuming the disks to be
  218. initialized are going to be in Drive A: of your production machine and are
  219. already made up in the needed quantity.  Modify or create your own SN2A.BAT
  220. as needed; make sure the Visible::Serialization executable files are in your
  221. path or the complete pathname of those files is indicated in SN2A.BAT.
  222. Successive runs of SN2A.BAT will initialize each stock diskette in turn.
  223.  
  224. If your intended .exe is to be placed in a compressed archive file for
  225. distribution purposes, you should create a batch file that will initialize
  226. the .exe with the next serial number, update the archive each time, and copy
  227. it to the next distribution diskette.  Often, a firm will have a quantity of
  228. distribution disks made up containing everything except one final archive
  229. file which will contain only the initialized .exe file; then, in sequence,
  230. a batch file will execute the initialization on a virgin copy of the .exe,
  231. compress it in its own archive, and lastly, copy it to the next disk where
  232. the appropriate label (if it indicates a serial number) may be applied.
  233.  
  234. Our own firm often leaves a copy of serialno.dat in the root directory of
  235. the distribution diskette.  We include a note in the readme.txt that informs
  236. the client that "The serial number registered in the user's name is found in
  237. the file SERIALNO.DAT.  It is provided on the disk for your recordkeeping
  238. purposes only."  It also provides a means for our staff or external agents
  239. to make a quick check that the serial number matches the one indicated on
  240. the disk label or invoice, should the need arise.
  241.  
  242. There are many possible alternatives to producing initialized copies for
  243. distributions; most development firms will create their own preferred
  244. operation appropriate for an application.  The above descriptions are only
  245. possible suggestions and are not meant to preclude other means for utilizing
  246. the Visible::Serialization program.
  247.  
  248.  
  249.  
  250.  
  251.  
  252. Precautions
  253. ------------
  254. Always work with COPIES of your original .exe files.  Periodically verify
  255. with SearchSN.exe the production copies of your .exe's to ascertain that
  256. the serial number sequence is properly written and readable.
  257.  
  258. It is possible to make multiple appends to the same .exe; the SearchSN.exe
  259. utility will attempt to locate and display only the first instance of a
  260. serial number sequence.
  261.  
  262. AppendSN.exe can be used to append the contents of serialno.dat to the end
  263. of file types other than .exe's.  You should well test and consider the
  264. intent and consequences of any such append.  The SearchSN.exe utility can
  265. have difficulty in locating the serial sequence in this or other rare
  266. circumstance.
  267.  
  268. If you obtain a result when running SearchSN.exe that you feel to be
  269. inaccurate, empty (reset) your software disk cache (i.e., if using
  270. smartdrv.exe, run smartdrv /r) and execute the search again.
  271.  
  272. If you have created or modified a numerical-type serial sequence in a
  273. serialno.dat with your text editor (rather than with CreateSN.exe), and
  274. then attempt to increment the number with CreateSN.exe, an error message
  275. "Cannot increment current serial number" may occur.  You should then
  276. delete the serialno.dat file and re-create it using CreateSN.exe and the
  277. desired starting number.  You should then be able to increment as needed.
  278.  
  279. You should verify that your applications are fully tested and bugfree before
  280. appending a serial number.  After a prototype append, you will most likely
  281. test again that the application works as it did previously.  In the unlikely
  282. event there are difficulties, we suggest that you restore an original copy
  283. of the application and perform again the testing process, then apply the
  284. append procedure according to the instructions provided in this documenta-
  285. tion.
  286.  
  287.  
  288.  
  289.  
  290.  
  291. Program Requirements
  292. ---------------------
  293. The requirements for running Visible::Serialization include a DOS-compatible
  294. PC with 512k memory.  DOS 3.1 (or later) or Windows 3.x (or later) should be
  295. utilized.
  296.  
  297.  
  298.  
  299.  
  300.  
  301. The Unregistered Evaluation Copy
  302. ---------------------------------
  303. The unregistered version of this program is intended for use in evaluation
  304. situations.  It may be used for ninety (90) days within your own organ-
  305. ization by persons that have knowledge and understanding of the fact that
  306. it is an unregistered evaluation copy.
  307.  
  308. The payment of the $19.95 purchase price for a registered copy of this
  309. program will allow license for a single user to make use of the program for
  310. purposes that are traditionally accepted for software utilities of this
  311. type.  Additional site license fees of $7.50 per user may be paid at the
  312. time of registration, or any time in the future after initial registration
  313. at the then current license fee in effect.  There are no runtime royalties
  314. involved in the distribution of your materials utilizing a duly registered
  315. copy of Visible::Serialization.
  316.  
  317. The license and authorized registration shall not be construed as being
  318. in effect until direct payment has been received by RCCO Research and an
  319. authorized, registered copy has been sent in the registered user's/users'
  320. name(s).
  321.  
  322.  
  323.  
  324.  
  325.  
  326. The Registered Version of Visible::Serialization
  327. -------------------------------------------------
  328. The registered copy performs the same execution as the evaluation copy, only
  329. without the unregistered copy notices.
  330.  
  331. Documentation for the registered version is an on-disk text file, similar to
  332. the present format.
  333.  
  334.  
  335.  
  336.  
  337.  
  338. Licensing Information
  339. ----------------------
  340. This program is licensed and supplied as is, without any warranty.  To the 
  341. extent permitted under applicable law, RCCO Research Associates disclaims 
  342. all warranties, either expressed or implied, with respect to this software 
  343. program, its quality, performance, merchantability, or fitness for any 
  344. particular purpose.
  345.  
  346. In particular, this software program is not guaranteed to prevent or detect
  347. damage to your data or programs.  In no event shall RCCO Research Associates
  348. be liable for any claims for lost profits or any damage, including, but not
  349. limited to, special, incidental, consequential or other damage (including, 
  350. without limitation, damages for loss of business profits, business interrup-
  351. tion, loss of business information, or other pecuniary loss) arising out of
  352. the use of or inability to use this RCCO Research Associates product, even
  353. if RCCO Research Associates has been advised of the possibility of such
  354. damages.  Some states do not allow the exclusion or limitation of incidental
  355. or consequential damages, so the above limitation or exclusion may not apply
  356. to you.  In no case shall RCCO Research Associates's liability exceed the
  357. license fees paid for the right to use the licensed version of the software. 
  358.  
  359. The license agreement and warranty shall be construed, interpreted and
  360. governed by the laws of the state of Tennessee.
  361.  
  362. This software program is protected under the Copyright Laws of the United 
  363. States of America and all applicable International Copyright Conventions.  
  364. Makers and/or users of illegal or unauthorized copies of the registered 
  365. version are subject to prosecution under these laws.
  366.  
  367. The name  Visible::Serialization(tm)  is a trademark of RCCO Research
  368. Associates.  Windows(tm) is a trademark of Microsoft Corporation.  Other
  369. trade names referenced herein are either trademarks or registered trademarks
  370. of their respective companies.
  371.  
  372.  
  373.  
  374.  
  375.  
  376. Registration Notes
  377. -------------------
  378. Registration will obtain a copy of the most recent authorized version and
  379. provide legal authorization for continued use of the program after the
  380. ninety-day (90-day) evaluation period.
  381.  
  382. To obtain a registered copy, you may mail an advance-payment registration
  383. fee of U.S. $19.95 + $2.55 shipping/handling ($7.05 non-U.S. shipping/
  384. handling, $4.05 for Canada) directly to RCCO Research.  Additional users
  385. are $7.50 per user.  Payment is to be made by check or money order only,
  386. please.  We require payment with order so that prices and fees may be kept
  387. as reasonable as possible; this policy has worked well for us in recent
  388. years, as we observe increased registration on products that are reasonably
  389. priced.  For credit card and telephone orders, see the Additional Ordering
  390. Options note below.
  391.  
  392. An invoice will be included with your order, showing the registered serial
  393. number(s) applicable to the purchase.  We can provide a pro forma invoice
  394. to those corporations or institutions that require same before payment can
  395. be issued; shipment will be made promptly upon receipt of payment.  Prices
  396. and/or registration and/or license fees are subject to change without notice.
  397.  
  398. Tennessee clients please include the required 8.5% sales tax on both the
  399. product amount and shipping/handling as mandated by the state.
  400.  
  401. International clients must pay by check or money order in U.S. dollars, drawn
  402. on a U.S. bank or the U.S. branch of an international bank.  Please realize
  403. that international postal money orders are considerably delayed through the
  404. postal systems and may not be the most expedient way of relaying payment.  An
  405. often-used form of payment consists of obtaining a dollar-denominated money
  406. order from the local American Express office which you may then airmail to
  407. us along with your order.  International orders are dispatched promptly
  408. when using a credit card order as outlined below, under Additional Ordering
  409. Options.
  410.  
  411. Please indicate program name and current version number on your order; you
  412. may use the Order.frm file provided with the package or simply send a note or
  413. letter with your name, organization name, address, program name & version,
  414. number of users being licensed, and remittance.  Your comments on our
  415. programs are welcomed.
  416.  
  417.  
  418.  
  419.  
  420.      Additional Ordering Options:
  421.      ----------------------------------------------------------------------
  422.      CREDIT CARD ORDERS ONLY -
  423.      You may order a registered copy of this RCCO Research program
  424.      with MC, Visa, Amex, or Discover from PsL, Public (software)
  425.      Library of Houston, Texas by calling 800-242-4775 or 713-524-6394,
  426.      or by FAX to 713-524-6398, or by CompuServe E-mail to 71355,470.
  427.      You may also mail credit card orders to PsL at P.O. Box 35705,
  428.      Houston, TX 77235-5705.  PsL's item/product number for
  429.      Visible::Serialization is #11763.
  430.  
  431.      THE ABOVE NUMBERS ARE FOR ORDERS ONLY.
  432.      Any questions about the status of the shipment of the order,
  433.      registration options, product details, technical support, volume
  434.      discounts, dealer pricing, site licenses, etc. must be directed in
  435.      writing to RCCO Research, P.O. Box 196, Gatlinburg, TN 37738.  To
  436.      ensure that you get the fastest possible delivery of your registered
  437.      copy, PsL will notify us the day of your order and we will promptly
  438.      ship the materials directly to you.  There are no additional fees
  439.      for ordering by credit card.
  440.  
  441.      Your credit card number is *not* transmitted to RCCO Research, but
  442.      rather is processed by PsL as part of their software registration
  443.      service.
  444.  
  445.      The above service is made available as a convenience to client
  446.      individuals who feel comfortable with ordering by telephone and
  447.      with a credit card.  Established concerns may prefer to order
  448.      directly from RCCO Research with the company's own business check.
  449.  
  450.      The PsL staff cannot answer non-order inquiries.
  451.      ----------------------------------------------------------------------
  452.  
  453.  
  454.  
  455.  
  456.  
  457. Additional Information
  458. -----------------------
  459. If you have any comments or questions regarding this program after (or with)
  460. registration, please send them to:
  461.  
  462.                               RCCO Research Associates
  463.                               P. O. Box 196
  464.                               Gatlinburg, TN 37738 (U.S.A.)
  465.  
  466. Please include your phone (day & evening) and fax (if any) numbers as well
  467. as your mailing address (and CompuServe number / Internet address, if any)
  468. on ALL written communications.  Please indicate the serial number from your
  469. registered copy of the program as well as your CustID number.  Our E-mail
  470. addresses are provided to registered users along with the invoice.
  471.  
  472.  
  473. RCCO Research is the publisher of Visible::Setup(tm) (a developers'
  474. installation utility for DOS applications used widely in many parts of the
  475. world), as well as several other popular development tools.  Please consult
  476. your favorite user-supported software source for the availability of these
  477. and other RCCO Research DOS and Windows programs.
  478.  
  479.  
  480.  
  481.  
  482.  
  483.  
  484.  
  485. Visible::Serialization(tm)
  486. --------------------------
  487. append a serial number (or other identifier) to an .exe
  488.  
  489.  
  490.  
  491. (C) Copyright 1995 RCCO Research Associates
  492. All Rights Reserved under International Conventions
  493. Product of U.S.A.
  494.  
  495.  
  496.  
  497. RCCO Research Associates
  498. Post Office Box 196
  499. Gatlinburg, Tennessee 37738 (U.S.A.)
  500.  
  501.  
  502.                                     
  503.                      ┌─────────────────────────────────┐
  504.                      │     RCCO Research Associates    │
  505.                      │ Technical Publishers, Est. 1965 │
  506.                      └─────────────────────────────────┘
  507.  
  508.  
  509.